package com.example.demo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @RequestMapping("/hello/v1")
    public String hello1(){
        return "hello , Spring boot1! ";
    }


    @RequestMapping("/hello")
    public String hello(){
        return "hello , Spring boot! ";
    }
}
